package com.example.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: 扎马斯
 * @date: 2024年08月30日 09:53
 * @describe:
 */
@Data
public class UserVO implements Serializable {
    public static final Long serialVersionUID = 1L;
    private Integer userId;
    private String username;
    private String mobile;
    @DateTimeFormat(pattern = "yyyy-MM-DD HH:mm:ss")
    @JsonFormat(pattern = "YYYY-MM-DD HH:mm:ss", timezone = "UTF-8")
    private Date createTime;
}
